package com.lebang.example;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;

public class CencesCommonSdkExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Long offset;

    public CencesCommonSdkExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(LocalDate value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(LocalDate value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(LocalDate value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(LocalDate value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(LocalDate value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(LocalDate value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<LocalDate> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<LocalDate> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(LocalDate value1, LocalDate value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(LocalDate value1, LocalDate value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andTimeIsNull() {
            addCriterion("`time` is null");
            return (Criteria) this;
        }

        public Criteria andTimeIsNotNull() {
            addCriterion("`time` is not null");
            return (Criteria) this;
        }

        public Criteria andTimeEqualTo(Integer value) {
            addCriterion("`time` =", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotEqualTo(Integer value) {
            addCriterion("`time` <>", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeGreaterThan(Integer value) {
            addCriterion("`time` >", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("`time` >=", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLessThan(Integer value) {
            addCriterion("`time` <", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLessThanOrEqualTo(Integer value) {
            addCriterion("`time` <=", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeIn(List<Integer> values) {
            addCriterion("`time` in", values, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotIn(List<Integer> values) {
            addCriterion("`time` not in", values, "time");
            return (Criteria) this;
        }

        public Criteria andTimeBetween(Integer value1, Integer value2) {
            addCriterion("`time` between", value1, value2, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("`time` not between", value1, value2, "time");
            return (Criteria) this;
        }

        public Criteria andVivoIsNull() {
            addCriterion("vivo is null");
            return (Criteria) this;
        }

        public Criteria andVivoIsNotNull() {
            addCriterion("vivo is not null");
            return (Criteria) this;
        }

        public Criteria andVivoEqualTo(BigDecimal value) {
            addCriterion("vivo =", value, "vivo");
            return (Criteria) this;
        }

        public Criteria andVivoNotEqualTo(BigDecimal value) {
            addCriterion("vivo <>", value, "vivo");
            return (Criteria) this;
        }

        public Criteria andVivoGreaterThan(BigDecimal value) {
            addCriterion("vivo >", value, "vivo");
            return (Criteria) this;
        }

        public Criteria andVivoGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("vivo >=", value, "vivo");
            return (Criteria) this;
        }

        public Criteria andVivoLessThan(BigDecimal value) {
            addCriterion("vivo <", value, "vivo");
            return (Criteria) this;
        }

        public Criteria andVivoLessThanOrEqualTo(BigDecimal value) {
            addCriterion("vivo <=", value, "vivo");
            return (Criteria) this;
        }

        public Criteria andVivoIn(List<BigDecimal> values) {
            addCriterion("vivo in", values, "vivo");
            return (Criteria) this;
        }

        public Criteria andVivoNotIn(List<BigDecimal> values) {
            addCriterion("vivo not in", values, "vivo");
            return (Criteria) this;
        }

        public Criteria andVivoBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("vivo between", value1, value2, "vivo");
            return (Criteria) this;
        }

        public Criteria andVivoNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("vivo not between", value1, value2, "vivo");
            return (Criteria) this;
        }

        public Criteria andOppoIsNull() {
            addCriterion("oppo is null");
            return (Criteria) this;
        }

        public Criteria andOppoIsNotNull() {
            addCriterion("oppo is not null");
            return (Criteria) this;
        }

        public Criteria andOppoEqualTo(BigDecimal value) {
            addCriterion("oppo =", value, "oppo");
            return (Criteria) this;
        }

        public Criteria andOppoNotEqualTo(BigDecimal value) {
            addCriterion("oppo <>", value, "oppo");
            return (Criteria) this;
        }

        public Criteria andOppoGreaterThan(BigDecimal value) {
            addCriterion("oppo >", value, "oppo");
            return (Criteria) this;
        }

        public Criteria andOppoGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("oppo >=", value, "oppo");
            return (Criteria) this;
        }

        public Criteria andOppoLessThan(BigDecimal value) {
            addCriterion("oppo <", value, "oppo");
            return (Criteria) this;
        }

        public Criteria andOppoLessThanOrEqualTo(BigDecimal value) {
            addCriterion("oppo <=", value, "oppo");
            return (Criteria) this;
        }

        public Criteria andOppoIn(List<BigDecimal> values) {
            addCriterion("oppo in", values, "oppo");
            return (Criteria) this;
        }

        public Criteria andOppoNotIn(List<BigDecimal> values) {
            addCriterion("oppo not in", values, "oppo");
            return (Criteria) this;
        }

        public Criteria andOppoBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("oppo between", value1, value2, "oppo");
            return (Criteria) this;
        }

        public Criteria andOppoNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("oppo not between", value1, value2, "oppo");
            return (Criteria) this;
        }

        public Criteria andHuaweiIsNull() {
            addCriterion("huawei is null");
            return (Criteria) this;
        }

        public Criteria andHuaweiIsNotNull() {
            addCriterion("huawei is not null");
            return (Criteria) this;
        }

        public Criteria andHuaweiEqualTo(BigDecimal value) {
            addCriterion("huawei =", value, "huawei");
            return (Criteria) this;
        }

        public Criteria andHuaweiNotEqualTo(BigDecimal value) {
            addCriterion("huawei <>", value, "huawei");
            return (Criteria) this;
        }

        public Criteria andHuaweiGreaterThan(BigDecimal value) {
            addCriterion("huawei >", value, "huawei");
            return (Criteria) this;
        }

        public Criteria andHuaweiGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("huawei >=", value, "huawei");
            return (Criteria) this;
        }

        public Criteria andHuaweiLessThan(BigDecimal value) {
            addCriterion("huawei <", value, "huawei");
            return (Criteria) this;
        }

        public Criteria andHuaweiLessThanOrEqualTo(BigDecimal value) {
            addCriterion("huawei <=", value, "huawei");
            return (Criteria) this;
        }

        public Criteria andHuaweiIn(List<BigDecimal> values) {
            addCriterion("huawei in", values, "huawei");
            return (Criteria) this;
        }

        public Criteria andHuaweiNotIn(List<BigDecimal> values) {
            addCriterion("huawei not in", values, "huawei");
            return (Criteria) this;
        }

        public Criteria andHuaweiBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("huawei between", value1, value2, "huawei");
            return (Criteria) this;
        }

        public Criteria andHuaweiNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("huawei not between", value1, value2, "huawei");
            return (Criteria) this;
        }

        public Criteria andXiaomiIsNull() {
            addCriterion("xiaomi is null");
            return (Criteria) this;
        }

        public Criteria andXiaomiIsNotNull() {
            addCriterion("xiaomi is not null");
            return (Criteria) this;
        }

        public Criteria andXiaomiEqualTo(BigDecimal value) {
            addCriterion("xiaomi =", value, "xiaomi");
            return (Criteria) this;
        }

        public Criteria andXiaomiNotEqualTo(BigDecimal value) {
            addCriterion("xiaomi <>", value, "xiaomi");
            return (Criteria) this;
        }

        public Criteria andXiaomiGreaterThan(BigDecimal value) {
            addCriterion("xiaomi >", value, "xiaomi");
            return (Criteria) this;
        }

        public Criteria andXiaomiGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("xiaomi >=", value, "xiaomi");
            return (Criteria) this;
        }

        public Criteria andXiaomiLessThan(BigDecimal value) {
            addCriterion("xiaomi <", value, "xiaomi");
            return (Criteria) this;
        }

        public Criteria andXiaomiLessThanOrEqualTo(BigDecimal value) {
            addCriterion("xiaomi <=", value, "xiaomi");
            return (Criteria) this;
        }

        public Criteria andXiaomiIn(List<BigDecimal> values) {
            addCriterion("xiaomi in", values, "xiaomi");
            return (Criteria) this;
        }

        public Criteria andXiaomiNotIn(List<BigDecimal> values) {
            addCriterion("xiaomi not in", values, "xiaomi");
            return (Criteria) this;
        }

        public Criteria andXiaomiBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("xiaomi between", value1, value2, "xiaomi");
            return (Criteria) this;
        }

        public Criteria andXiaomiNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("xiaomi not between", value1, value2, "xiaomi");
            return (Criteria) this;
        }

        public Criteria andMeizuIsNull() {
            addCriterion("meizu is null");
            return (Criteria) this;
        }

        public Criteria andMeizuIsNotNull() {
            addCriterion("meizu is not null");
            return (Criteria) this;
        }

        public Criteria andMeizuEqualTo(BigDecimal value) {
            addCriterion("meizu =", value, "meizu");
            return (Criteria) this;
        }

        public Criteria andMeizuNotEqualTo(BigDecimal value) {
            addCriterion("meizu <>", value, "meizu");
            return (Criteria) this;
        }

        public Criteria andMeizuGreaterThan(BigDecimal value) {
            addCriterion("meizu >", value, "meizu");
            return (Criteria) this;
        }

        public Criteria andMeizuGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("meizu >=", value, "meizu");
            return (Criteria) this;
        }

        public Criteria andMeizuLessThan(BigDecimal value) {
            addCriterion("meizu <", value, "meizu");
            return (Criteria) this;
        }

        public Criteria andMeizuLessThanOrEqualTo(BigDecimal value) {
            addCriterion("meizu <=", value, "meizu");
            return (Criteria) this;
        }

        public Criteria andMeizuIn(List<BigDecimal> values) {
            addCriterion("meizu in", values, "meizu");
            return (Criteria) this;
        }

        public Criteria andMeizuNotIn(List<BigDecimal> values) {
            addCriterion("meizu not in", values, "meizu");
            return (Criteria) this;
        }

        public Criteria andMeizuBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("meizu between", value1, value2, "meizu");
            return (Criteria) this;
        }

        public Criteria andMeizuNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("meizu not between", value1, value2, "meizu");
            return (Criteria) this;
        }

        public Criteria andSllIsNull() {
            addCriterion("sll is null");
            return (Criteria) this;
        }

        public Criteria andSllIsNotNull() {
            addCriterion("sll is not null");
            return (Criteria) this;
        }

        public Criteria andSllEqualTo(BigDecimal value) {
            addCriterion("sll =", value, "sll");
            return (Criteria) this;
        }

        public Criteria andSllNotEqualTo(BigDecimal value) {
            addCriterion("sll <>", value, "sll");
            return (Criteria) this;
        }

        public Criteria andSllGreaterThan(BigDecimal value) {
            addCriterion("sll >", value, "sll");
            return (Criteria) this;
        }

        public Criteria andSllGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("sll >=", value, "sll");
            return (Criteria) this;
        }

        public Criteria andSllLessThan(BigDecimal value) {
            addCriterion("sll <", value, "sll");
            return (Criteria) this;
        }

        public Criteria andSllLessThanOrEqualTo(BigDecimal value) {
            addCriterion("sll <=", value, "sll");
            return (Criteria) this;
        }

        public Criteria andSllIn(List<BigDecimal> values) {
            addCriterion("sll in", values, "sll");
            return (Criteria) this;
        }

        public Criteria andSllNotIn(List<BigDecimal> values) {
            addCriterion("sll not in", values, "sll");
            return (Criteria) this;
        }

        public Criteria andSllBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sll between", value1, value2, "sll");
            return (Criteria) this;
        }

        public Criteria andSllNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sll not between", value1, value2, "sll");
            return (Criteria) this;
        }

        public Criteria andYybIsNull() {
            addCriterion("yyb is null");
            return (Criteria) this;
        }

        public Criteria andYybIsNotNull() {
            addCriterion("yyb is not null");
            return (Criteria) this;
        }

        public Criteria andYybEqualTo(BigDecimal value) {
            addCriterion("yyb =", value, "yyb");
            return (Criteria) this;
        }

        public Criteria andYybNotEqualTo(BigDecimal value) {
            addCriterion("yyb <>", value, "yyb");
            return (Criteria) this;
        }

        public Criteria andYybGreaterThan(BigDecimal value) {
            addCriterion("yyb >", value, "yyb");
            return (Criteria) this;
        }

        public Criteria andYybGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("yyb >=", value, "yyb");
            return (Criteria) this;
        }

        public Criteria andYybLessThan(BigDecimal value) {
            addCriterion("yyb <", value, "yyb");
            return (Criteria) this;
        }

        public Criteria andYybLessThanOrEqualTo(BigDecimal value) {
            addCriterion("yyb <=", value, "yyb");
            return (Criteria) this;
        }

        public Criteria andYybIn(List<BigDecimal> values) {
            addCriterion("yyb in", values, "yyb");
            return (Criteria) this;
        }

        public Criteria andYybNotIn(List<BigDecimal> values) {
            addCriterion("yyb not in", values, "yyb");
            return (Criteria) this;
        }

        public Criteria andYybBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("yyb between", value1, value2, "yyb");
            return (Criteria) this;
        }

        public Criteria andYybNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("yyb not between", value1, value2, "yyb");
            return (Criteria) this;
        }

        public Criteria andXiaozhuoIsNull() {
            addCriterion("xiaozhuo is null");
            return (Criteria) this;
        }

        public Criteria andXiaozhuoIsNotNull() {
            addCriterion("xiaozhuo is not null");
            return (Criteria) this;
        }

        public Criteria andXiaozhuoEqualTo(BigDecimal value) {
            addCriterion("xiaozhuo =", value, "xiaozhuo");
            return (Criteria) this;
        }

        public Criteria andXiaozhuoNotEqualTo(BigDecimal value) {
            addCriterion("xiaozhuo <>", value, "xiaozhuo");
            return (Criteria) this;
        }

        public Criteria andXiaozhuoGreaterThan(BigDecimal value) {
            addCriterion("xiaozhuo >", value, "xiaozhuo");
            return (Criteria) this;
        }

        public Criteria andXiaozhuoGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("xiaozhuo >=", value, "xiaozhuo");
            return (Criteria) this;
        }

        public Criteria andXiaozhuoLessThan(BigDecimal value) {
            addCriterion("xiaozhuo <", value, "xiaozhuo");
            return (Criteria) this;
        }

        public Criteria andXiaozhuoLessThanOrEqualTo(BigDecimal value) {
            addCriterion("xiaozhuo <=", value, "xiaozhuo");
            return (Criteria) this;
        }

        public Criteria andXiaozhuoIn(List<BigDecimal> values) {
            addCriterion("xiaozhuo in", values, "xiaozhuo");
            return (Criteria) this;
        }

        public Criteria andXiaozhuoNotIn(List<BigDecimal> values) {
            addCriterion("xiaozhuo not in", values, "xiaozhuo");
            return (Criteria) this;
        }

        public Criteria andXiaozhuoBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("xiaozhuo between", value1, value2, "xiaozhuo");
            return (Criteria) this;
        }

        public Criteria andXiaozhuoNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("xiaozhuo not between", value1, value2, "xiaozhuo");
            return (Criteria) this;
        }

        public Criteria andAppIdIsNull() {
            addCriterion("app_id is null");
            return (Criteria) this;
        }

        public Criteria andAppIdIsNotNull() {
            addCriterion("app_id is not null");
            return (Criteria) this;
        }

        public Criteria andAppIdEqualTo(Integer value) {
            addCriterion("app_id =", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdNotEqualTo(Integer value) {
            addCriterion("app_id <>", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdGreaterThan(Integer value) {
            addCriterion("app_id >", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("app_id >=", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdLessThan(Integer value) {
            addCriterion("app_id <", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdLessThanOrEqualTo(Integer value) {
            addCriterion("app_id <=", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdIn(List<Integer> values) {
            addCriterion("app_id in", values, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdNotIn(List<Integer> values) {
            addCriterion("app_id not in", values, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdBetween(Integer value1, Integer value2) {
            addCriterion("app_id between", value1, value2, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdNotBetween(Integer value1, Integer value2) {
            addCriterion("app_id not between", value1, value2, "appId");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}